#ifndef _DEVICE_INPUT_H_
#define _DEVICE_INPUT_H_

#include "DeviceKeyboadInput.h"
#include "DeviceMouseInput.h"
#include "KeyCode.h"

class DeviceInput
{
public:
	static DeviceInput* getInst();


	void InputInit();
	void Update();
	void Release();

	void ActiveInput();

	bool isKeyState(KeyCode::Code);
	bool isKeyTrigger(KeyCode::Code);

	DeviceMouseInput* GetMouse();

private:
	DeviceInput();
	~DeviceInput();

private:
	DeviceKeyboadInput _keyboad;
	DeviceMouseInput   _mouse;
};

#endif